package com.group3.admin.service.impl;

import com.group3.admin.dao.IAMerchantDao;
import com.group3.admin.dao.impl.AMerchantDaoImpl;
import com.group3.admin.service.IValidateResubmitService;
import com.group3.entity.AMerchant;

public class ValidateResubmitServiceImpl implements IValidateResubmitService{
	private IAMerchantDao dao = new AMerchantDaoImpl();
	@Override
	public boolean validateResubmit(String mId) {
		AMerchant aMerchant = dao.queryMerchantByMId(mId);
		if(aMerchant!=null){
			return true;
		}
		return false;
	}
}
